package com.heiyu.constants;

public enum  BalanceRefWebsite {
    Huobi1(1l,"http://www.huobi.pro"),Huobi2(2l,"http://www.huobi.pro");
    private Long activytiId;
    private String website;

    private BalanceRefWebsite(Long activityId,String website){
        this.activytiId = activityId;
        this.website = website;
    }

    public static String getWebsite(Long activityId){
        if(activityId == null){
            return null;
        }
        for(BalanceRefWebsite website:BalanceRefWebsite.values()){
            if(website.activytiId==activityId){
                return website.website;
            }
        }
        return null;
    }

}
